import React from "react"
import { Router } from "@reach/router"
import Settings from "../components/Settings"
import PrivateRoute from "../components/PrivateRoute"
import Create from "../components/Create"

export default function App() {
  return (
    <Router basepath="/app">
      <PrivateRoute component={Settings} path="/settings" />
      <PrivateRoute component={Create} path="/create" />
    </Router>
  )
}
